package cn.beatuty.makeup.module.system.controller.admin.article.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 文章 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ArticleRespVO {

    @Schema(description = "文章ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10750")
    @ExcelProperty("文章ID")
    private Long id;

    @Schema(description = "文章标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("文章标题")
    private String title;

    @Schema(description = "文章内容")
    @ExcelProperty("文章内容")
    private String content;

    @Schema(description = "文章封面")
    @ExcelProperty("文章封面")
    private String coverImage;

    @Schema(description = "文章视频", example = "https://www.iocoder.cn")
    @ExcelProperty("文章视频")
    private String videoUrl;

    @Schema(description = "文章状态（1：正常，0：删除）", example = "1")
    @ExcelProperty("文章状态（1：正常，0：删除）")
    private Integer status;

    @Schema(description = "文章话题ID", example = "19866")
    @ExcelProperty("文章话题ID")
    private Long topicId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "商品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20341")
    @ExcelProperty("商品id")
    private Long productId;

    private String topicName;

    private Long authorId;
    @Schema(description = "文章话题code", example = "19866")
    private String topicCode;

}